from django import forms

class HomeWorkForm(forms.Form):
    # 答题详情
    homework_replay_content = forms.CharField(label='答题详情',
                                              widget=forms.TextInput(
                                                  attrs={
                                                      'placeholder': '详情',
                                                      'class': 'form-control',
                                                  }
                                              ))
    # 作业附件
    homework_replay_attach = forms.FileField(label='作业附件',
                                             widget=forms.FileInput(
                                                 attrs={
                                                     'placeholder': '附件',
                                                     'class': 'form-control',
                                                 }
                                             ))
